From fc093079b1121d0b21db608acf0a90cee78d8455 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 31 May 2012 10:18:52 +0200 Subject: [PATCH] passthrough: fix xsm-related oversight Presumably a copy-and-paste mistake, which I also didn't notice while unifying x86's and ia64's respective domctl implementations. Signed-off-by: Jan Beulich Acked-by: Keir Fraser --- xen/drivers/passthrough/iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/passthrough/iommu.c b/xen/drivers/passthrough/iommu.c index 8eba541d1a..64f5fd1b47 100644 --- a/xen/drivers/passthrough/iommu.c +++ b/xen/drivers/passthrough/iommu.c @@ -625,7 +625,7 @@ int iommu_do_domctl( break; } - ret = xsm_assign_device(d, domctl->u.assign_device.machine_sbdf); + ret = xsm_deassign_device(d, domctl->u.assign_device.machine_sbdf); if ( ret ) goto deassign_device_out; -- 2.30.2